Skip to content

fish_completions: fix completion for macos#1710

Merged
casey merged 4 commits intocasey:masterfrom
l4zygreed:fix/fish_completions
Oct 30, 2023
Merged

fish_completions: fix completion for macos#1710
casey merged 4 commits intocasey:masterfrom
l4zygreed:fix/fish_completions

Conversation

@l4zygreed
Copy link
Copy Markdown
Contributor

@l4zygreed l4zygreed commented Oct 25, 2023

tried to fix broken completion for macos #1703
edited src/completions.rs file and regenerated completions via bin/generate-completions script

tested on macos sonoma and archlinux machine, works the same
replaced sed with awk to have more flexible formatting on arguments (and because macos sed have differences)
example image

@l4zygreed l4zygreed marked this pull request as draft October 25, 2023 14:10
@l4zygreed l4zygreed changed the title fish_completions: make regex macos and linux friendly fish_completions: fix completion for macos Oct 25, 2023
@l4zygreed l4zygreed marked this pull request as ready for review October 25, 2023 16:58
@casey
Copy link
Copy Markdown
Owner

casey commented Oct 26, 2023

This looks good to me! I'm not a fish user, so if anyone who uses fish wants to try this out before I merge, please do! Otherwise I'll just let it sit for a little bit and merge it.

@sebdvd
Copy link
Copy Markdown

sebdvd commented Oct 30, 2023

I can confirm it works on macos 14.1 with fish 3.6.1

@sneeu
Copy link
Copy Markdown

sneeu commented Oct 30, 2023

This change is working for me on macOS 13.5 & fish 3.6.1.

@casey casey enabled auto-merge (squash) October 30, 2023 17:27
@casey casey merged commit e585ed9 into casey:master Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants